<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>Vue</title>
    <script src="vue.js" type="text/javascript" charset="utf-8"></script>
</head>
<body>
<div id="app">
    <input type="text" v-model="message" placeholder="输入。。。">
    <p>输入的内容是：{{message}}</p>
    <span>{{message}}</span>
</div>
</body>
<script>
    var app = new Vue({
        el:'#app',
        data:{
            message:''
        }

    })
</script>
</html>
